lib/gpg: Add _FINGERPRINT_PRIMARY to OstreeGpgVerifyResult
authorRobert McQueen <rob@endlessm.com>
Thu, 3 Aug 2017 09:00:42 +0000 (10:00 +0100)
committerAtomic Bot <atomic-devel@projectatomic.io>
Thu, 7 Sep 2017 19:56:31 +0000 (19:56 +0000)
commit2d854368a8e6091ab4bc2ec223868b20c47b677d
tree3566b1895118e69db4adccfbd0cfd2c67ef762fd
parent1e3f87c34c2f51385aef5aafcdf55e60d42bf426
lib/gpg: Add _FINGERPRINT_PRIMARY to OstreeGpgVerifyResult

Revert the switch of _FINGERPRINT to giving the primary key ID
rather than the signing key ID, and instead add the primary
key ID as a new attribute which is available if the key is not
missing.

Closes: https://github.com/ostreedev/ostree/issues/608
Closes: #1092
Approved by: cgwalters
src/libostree/ostree-gpg-verify-result.c
src/libostree/ostree-gpg-verify-result.h
tests/test-gpg-verify-result.c